﻿using System.Threading.Tasks;
using EIP.Authorize.Logic.Models;
using EIP.Common.Models;

namespace EIP.Authorize.Logic.Logic
{
    public interface IAccountLogic
    {
        /// <summary>
        /// 根据登录代码和密码查询用户信息
        /// </summary>
        /// <param name="input">用户名、密码等</param>
        /// <returns></returns>
        Task<OperateStatus<LoginOutput>> Login(LoginInput input);
    }
}